package com.qingcheng.controller.order;

import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

import java.util.Date;

/**
 * @author sunliang
 * @version 1.0
 * @date 2021/4/22 16:00
 */
@Component
public class OrderTask
{

    //@Scheduled(cron = "* * * * * ?")
    //public void orderTimeOutLogic()
    //{
    //    System.out.println(new Date());
    //}
}
